﻿using System.Drawing;
using System.Windows.Forms;

namespace aboveUHSReader
{
  internal class SearchNode : UHSNode
  {
    private readonly UHSNode m_node;

    public SearchNode(UHSNode node) : base(node.Subject)
    {
      m_node = node;
      ForeColor = Color.Blue;
      Text = node.Text;
    }

    public override string Content
    {
      get { return m_node.Content; }
    }

    public TreeNode Node
    {
      get { return m_node; }
    }
  }
}